package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_AmazonShopOrderShop", catalog="Id")
public class TpAmazonShopOrderShop extends BaseEntity<TpAmazonShopOrderShop> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="Time", nameJava="time", typeDataBase="char")
	private String time;
	@YsField(nameDataBase="OrderMoney", nameJava="orderMoney", typeDataBase="decimal")
	private BigDecimal orderMoney;
	@YsField(nameDataBase="QuantityOrdered", nameJava="quantityOrdered", typeDataBase="bigint")
	private Long quantityOrdered;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonShopOrderShop setId(Long id) {
		this.id = id;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TpAmazonShopOrderShop setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public String getTime() {
		return time;
	}
	public TpAmazonShopOrderShop setTime(String time) {
		this.time = time;
		return this;
	}
	public BigDecimal getOrderMoney() {
		return orderMoney;
	}
	public TpAmazonShopOrderShop setOrderMoney(BigDecimal orderMoney) {
		this.orderMoney = orderMoney;
		return this;
	}
	public Long getQuantityOrdered() {
		return quantityOrdered;
	}
	public TpAmazonShopOrderShop setQuantityOrdered(Long quantityOrdered) {
		this.quantityOrdered = quantityOrdered;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonShopOrderShop setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonShopOrderShop setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonShopOrderShop setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonShopOrderShop tpAmazonShopOrderShop(
		String shopName,
		String time,
		BigDecimal orderMoney,
		Long quantityOrdered,
		Integer status
			) {
		TpAmazonShopOrderShop entity = new TpAmazonShopOrderShop();
		entity.setShopName(shopName);
		entity.setTime(time);
		entity.setOrderMoney(orderMoney);
		entity.setQuantityOrdered(quantityOrdered);
		entity.setStatus(status);
		return entity;
	}
}